package com.atguigu.springcloud.service;

import java.util.concurrent.TimeUnit;

public interface PaymentService {
    /**
     * 成功
     * @param id
     * @return
     */
    public String paymentInfoOk(Integer id);

    /**
     * 失败
     * @param id
     * @return
     */
    public String paymentInfoTimeOut(Integer id);

    /**
     * 服务熔断
     * @param id
     * @return
     */
    public String paymentCircuitBreaker(Integer id);

}